package com.bms.comm;

import java.util.Collection;

import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.User;

public class MyUserDetails extends User {

	private static final long serialVersionUID = 1L;
	
	private com.bms.bean.User user ;
	
	public MyUserDetails(String username, String password,
			Collection<? extends GrantedAuthority> authorities,com.bms.bean.User user) {
		super(username, password, authorities);
		this.user = user;
		// TODO Auto-generated constructor stub
	}

	public com.bms.bean.User getUser() {
		return user;
	}

	public void setUser(com.bms.bean.User user) {
		this.user = user;
	}
	
}
